package com.kitty.mybatis.mybatisv1.session;

import com.kitty.mybatis.mybatisv1.session.defaults.kittyDefaultSqlSessionFactory;

/**
 * 创建KittySqlSessionFactory工厂-创建者模式
 * @Author SHEN
 * @Date 2020/10/20
 */
public class KittySqlSessionFactoryBuilder {

    public KittySqlSessionFactory build(KittyConfiguration configuration){

        return new kittyDefaultSqlSessionFactory(configuration);

    }

}
